package main;
import java.util.GregorianCalendar;

public class Event {
	private GregorianCalendar date;
	private String name;
	private EventType type;

	public Event(EventType et, String n, int d, int m, int y) {
		date = new GregorianCalendar(y, m-1, d);
		name = n;
		type = et;
	}

	public String getName() {return name;}
	public EventType getType() {return type;}
	public GregorianCalendar getDate() {return date;}
}
